<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1.0,user-scalable=no"
    />
    <title>mock test</title>
    <link rel="stylesheet" href="./style.css" />
    <style>
      * {
        padding: 0;
        margin: 0;
      }
      article {
        box-sizing: border-box;
        width: 100vw;
        height: 100vh;
      }
      .boxContainer {
        width: 100%;
        height: 100%;
      }
      .root {
        left: 20px;
        top: 20px;
        position: relative;
        width: 200px;
        height: 200px;
        border: 1px solid #000000;
      }
      .root p {
        cursor: pointer;
        position: absolute;
        margin: 0;
        width: 10px;
        height: 10px;
        border: 1px solid #000000;
      }
      .root p:nth-of-type(1) {
        top: -10px;
        left: -10px;
      }
      .root p:nth-of-type(2) {
        top: -10px;
        right: -10px;
      }
      .root p:nth-of-type(3) {
        bottom: -10px;
        right: -10px;
      }
      .root p:nth-of-type(4) {
        bottom: -10px;
        left: -10px;
      }

      .btnContainer {
        position: fixed;
        top: 300px;
        left: 20px;
      }
    </style>
  </head>
  <body>
    <article>
      <section class="boxContainer">
        <div class="root">
          <p class="block lefttop"></p>
          <p class="block righttop"></p>
          <p class="block leftbottom"></p>
          <p class="block rightbottom"></p>
        </div>
      </section>
      <section class="btnContainer">
        <div class="btn">
          <button>
            <span class="star"></span>
            <span>CHECKOUT</span>
            <span class="star"></span>
            <span class="bgShadow"></span>
          </button>
        </div>
      </section>
    </article>
    <script src="./main.js"></script>
  </body>
</html>
